<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script>
		window.onload=function () {
			var ipt=document.getElementById('ipt');
			var ipt2=document.getElementById('ipt2');
			ipt.onblur=function(){
				show({
					a:this.value,
					b:ipt2.value,
				})
			}
		}

		function show(args){
			var a,b;
			a=args.a;
			b=args.b;
			alert(a);
			alert(b);
		}
	</script>
</head>
<body>
	<input type="text" id="ipt">
	<input type="text" id="ipt2">
</body>
</html>